package controllers

import (
	"myblog/utils"

	beego "github.com/beego/beego/v2/server/web"
)

type ShugeController struct {
	beego.Controller
}

func (this *ShugeController) Get() {
	this.TplName = "shuge/index.tpl"
	this.LayoutSections = make(map[string]string)
	this.LayoutSections["IndexHead"] = "shuge/head.tpl"
	this.LayoutSections["IndexNavbar"] = "shuge/navbar.tpl"
	this.LayoutSections["IndexNav"] = "shuge/nav.tpl"
	this.LayoutSections["IndexFoot"] = "shuge/foot.tpl"
	this.Layout = "index.tpl"

}
